import Vue from 'vue'
import App from './App'
import router from './router'

import VueCookies from "vue-cookies";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import echarts from 'echarts'
import vueSeamlessScroll from 'vue-seamless-scroll'
import axios from "axios";
axios.defaults.baseURL = '/api'
Vue.use(vueSeamlessScroll)
Vue.prototype.$axios = axios;
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts

Vue.use(ElementUI);
Vue.use(VueCookies);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App),
  router,
})
